package com.sc.nft.dao;

import lombok.extern.slf4j.Slf4j;
import com.sc.nft.entity.HfTransDetail;
import com.sc.nft.mapper.HfTransDetailMapper;
import  com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

/**
 * 汇付转账明细表(sc_hf_trans_detail)数据DAO
 *
 * @author zxy
 * @since 2023-08-09 14:08:38
 * @description 汇付相关
 */
@Slf4j
@Repository
public class HfTransDetailDao extends ServiceImpl<HfTransDetailMapper, HfTransDetail> {

    public BigDecimal getHistoryAmount(Long transferId){
        return baseMapper.getHistoryAmount(transferId);
    }
}